VERSION 5.00
Object = "{1AB2B1E6-4B24-11D1-9D72-00A024C1118E}#1.2#0"; "GWXGauge.ocx"
Begin VB.Form MainWindow 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Dynosoft"
   ClientHeight    =   8565
   ClientLeft      =   45
   ClientTop       =   375
   ClientWidth     =   14760
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   8565
   ScaleWidth      =   14760
   StartUpPosition =   3  'Windows Default
   Begin VB.Timer Timer1 
      Interval        =   1
      Left            =   14040
      Top             =   3480
   End
   Begin VB.CommandButton mw_exit_btn 
      Caption         =   "Exit"
      Height          =   495
      Left            =   11400
      TabIndex        =   16
      Top             =   1320
      Width           =   1215
   End
   Begin VB.CommandButton mw_reset_btn 
      Caption         =   "Reset"
      Height          =   495
      Left            =   12840
      TabIndex        =   15
      Top             =   720
      Width           =   1215
   End
   Begin VB.CommandButton mw_stop_btn 
      Caption         =   "Stop"
      Height          =   495
      Left            =   12840
      TabIndex        =   14
      Top             =   120
      Width           =   1215
   End
   Begin VB.CommandButton mw_options_btn 
      Caption         =   "Opties"
      Height          =   495
      Left            =   11400
      TabIndex        =   13
      Top             =   720
      Width           =   1215
   End
   Begin VB.CommandButton mw_start_btn 
      Caption         =   "Start"
      Height          =   495
      Left            =   11400
      TabIndex        =   12
      Top             =   120
      Width           =   1215
   End
   Begin VB.Frame field_stats 
      Caption         =   "Stats"
      Height          =   1095
      Left            =   11280
      TabIndex        =   2
      Top             =   3960
      Width           =   3255
      Begin VB.Label mw_speed_val 
         Alignment       =   1  'Right Justify
         Caption         =   "0"
         Height          =   255
         Left            =   1080
         TabIndex        =   11
         Top             =   720
         Width           =   975
      End
      Begin VB.Label mw_torque_val 
         Alignment       =   1  'Right Justify
         Caption         =   "0"
         Height          =   255
         Left            =   1080
         TabIndex        =   10
         Top             =   480
         Width           =   975
      End
      Begin VB.Label mw_kw_val 
         Alignment       =   1  'Right Justify
         Caption         =   "0"
         Height          =   255
         Index           =   0
         Left            =   960
         TabIndex        =   9
         Top             =   240
         Width           =   1095
      End
      Begin VB.Label mw_speed_un 
         Caption         =   "kM/h"
         Height          =   255
         Left            =   2160
         TabIndex        =   8
         Top             =   720
         Width           =   975
      End
      Begin VB.Label mw_tor_un 
         Caption         =   "Nm"
         Height          =   255
         Left            =   2160
         TabIndex        =   7
         Top             =   480
         Width           =   855
      End
      Begin VB.Label mw_kw_un 
         Caption         =   "kW"
         Height          =   255
         Left            =   2160
         TabIndex        =   6
         Top             =   240
         Width           =   855
      End
      Begin VB.Label mw_speed_lbl 
         Caption         =   "Max Speed"
         Height          =   255
         Left            =   120
         TabIndex        =   5
         Top             =   720
         Width           =   975
      End
      Begin VB.Label mw_torque_lbl 
         Caption         =   "Max Torque"
         Height          =   255
         Left            =   120
         TabIndex        =   4
         Top             =   480
         Width           =   975
      End
      Begin VB.Label mw_kw_lbl 
         Caption         =   "Max kW"
         Height          =   255
         Left            =   120
         TabIndex        =   3
         Top             =   240
         Width           =   1095
      End
   End
   Begin VB.PictureBox Graph 
      BackColor       =   &H80000010&
      FillStyle       =   6  'Cross
      Height          =   8295
      Left            =   120
      ScaleHeight     =   8235
      ScaleWidth      =   10875
      TabIndex        =   1
      Top             =   120
      Width           =   10935
   End
   Begin GWXGAUGELib.GWXGauge gau_revs 
      Height          =   3135
      Left            =   11280
      TabIndex        =   0
      Top             =   5280
      Width           =   3255
      _Version        =   65538
      _ExtentX        =   5741
      _ExtentY        =   5530
      _StockProps     =   160
      GaugeType       =   2
      BackgroundColor =   16777215
      ShowBackFace    =   0   'False
      BackFaceFilled  =   0   'False
      BackFaceFillColor=   14737632
      BackFaceEdgeStyle=   7
      MainCaption     =   "Toerental"
      BeginProperty MainCaptionFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Arial"
         Size            =   26.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      GaugeTooltip    =   "Toerental"
      ShowCurrentValue=   0   'False
      BeginProperty CurrentValueFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Arial"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ShowBar         =   0   'False
      BarBackFilled   =   0   'False
      BarEdgeStyle    =   7
      ShowSlider      =   0   'False
      ScaleOneHighRange=   "14"
      ScaleOneLabelFormat=   "xx"
      ScaleOneUnitsLabel=   "1/min * 1000"
      ScaleOneMajorTicks=   8
      ScaleOneMinorTicks=   1
      BeginProperty ScaleOneLabelFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Arial"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ShowScaleTwo    =   0   'False
      BeginProperty ScaleTwoLabelFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Arial"
         Size            =   20.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ShowZonesWithScaleTwo=   0   'False
      ZoneTwoStart    =   60
      ZoneTwoEnd      =   80
      ZoneThreeStart  =   80
      ZoneThreeFillColor=   128
   End
End
Attribute VB_Name = "MainWindow"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Data(3, 2999, 3) As Single
Dim pulse, Duration, MaxRPM, MaxTorque, MaxPower As Integer
Private Sub Form_Load()
Duration = 15000
MaxRPM = 14000
MaxTorque = 5
MaxPower = 5

Graph.ScaleWidth = MaxRPM
Graph.ScaleHeight = MaxPower
gau_revs.ScaleOneHighRange = MaxRPM / 1000


End Sub

Private Sub mw_exit_btn_Click()
End
End Sub

Private Sub mw_start_btn_Click()
Timer1.Enabled = True
mw_start_btn.Enabled = False
End Sub

